<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../back-common.jsp"%>
<%@ include file="/WEB-INF/pages/common/taglib.jsp"%>

<%@ taglib uri="http://displaytag.sf.net" prefix="display"%>

<script src="<ls:templateResource item='/resources/plugins/My97DatePicker/WdatePicker.js'/>" type="text/javascript"></script>

    <%
        Long offset = (Long) request.getAttribute("offset");
    %>
    <form:form  action="${contextPath}/admin/advAnalysis" id="form1" method="post">
    <table class="${tableclass}" style="width: 100%">
	   <thead>
	   		<tr><th> <strong class="am-text-primary am-text-lg">报表管理</strong> /  广告点击统计</th></tr>
	   </thead>
     	<tbody>
     		<tr>
     			<td>
     				<div align="left" style="padding: 3px">
	        			<input type="hidden" id="curPageNO" name="curPageNO" value="${curPageNO}" />
            		</div>
 				</td>
 			</tr>
 		</tbody>
    </table>
    </form:form>
    <div align="center">
        <%@ include file="/WEB-INF/pages/common/messages.jsp"%>
	    <display:table name="list" requestURI="/admin/advAnalysis" id="item"
	         export="false"  class="${tableclass}" style="width:100%" sort="external">
	      <display:column title="顺序"  class="orderwidth"><%=offset++%></display:column>
	      <display:column title="广告链接" property="url"></display:column>
	      <display:column title="点击次数">${item.number }</display:column>
	      <display:column title="操作">
	      	<button class="am-btn am-btn-default am-btn-xs am-text-secondary" onclick="window.location.href='${contextPath}/admin/advAnalysis/detail?url=${item.url}'">
	      	<span class="am-icon-search"></span>查看详情</button>
	      </display:column>
	    </display:table>
        <ls:page pageSize="${pageSize }"  total="${total}" curPageNO="${curPageNO }"  type="default"/>
    </div>



